<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>忘记密码</title>
    <link rel="stylesheet" href="../css/foundpassword.css">
</head>
<body>
    <div class="login-container">
        <h2>忘记密码</h2>
    <form id="forgot-password-form">
            <div class="input-group">
                <label for="email">邮箱</label>
                <input type="text" id="email" name="email" required>
            </div>
            <div class="input-group">
                <label for="code">邮箱验证码</label>
                <div style="display: flex; gap: 10px; align-items: center;">
                    <input type="text" id="code" name="code" placeholder="输入邮箱验证码" style="flex:1;">
                    <button type="button" id="sendCodeBtn">发送验证码</button>
                </div>
            </div>
            <button type="submit">重置密码</button>
    </form>
    <!-- 重置密码输入区，初始隐藏，由js动态插入 -->
    <!-- <div id="reset-password-area" style="display:none;"></div> -->
        <div class="message">
            <p>还没有账号？<a href="register.html">立即注册</a></p>
            <p>想起密码了？<a href="login.html">返回登录</a></p>
        </div>
    </div>
    <script src="../js/foundpassword.js"></script>
    <script src="//instant.page/5.2.0" type="module" integrity="sha384-jnZyxPjiipYXnSU0ygqeac2q7CVYMbh84q0uHVRRxEtvFPiQYbXWUorga2aqZJ0z"></script>
</body>
</html>